package com.guigu.ssyx.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.atguigu.ssyx.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 秒杀商品通知订阅
 * </p>
 *
 * @author liuyang
 * @since 2025-09-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("seckill_sku_notice")
@ApiModel(value="SeckillSkuNotice对象", description="秒杀商品通知订阅")
public class SeckillSkuNotice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "user_id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "sku_id")
    @TableField("sku_id")
    private Long skuId;

    @ApiModelProperty(value = "活动场次id")
    @TableField("session_id")
    private Long sessionId;

    @ApiModelProperty(value = "订阅时间")
    @TableField("subcribe_time")
    private LocalDateTime subcribeTime;

    @ApiModelProperty(value = "发送时间")
    @TableField("send_time")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "通知方式[0-短信，1-邮件]")
    @TableField("notice_type")
    private Boolean noticeType;


}
